package com.example.translateappjava.Utils;

import com.google.gson.annotations.SerializedName;

public class GetPostsRequest {
    @SerializedName("category")
    private String category;

    // Constructor for GSON, and for creating an empty request (for all posts if backend supports it)
    public GetPostsRequest() {
        this.category = null;
    }

    public GetPostsRequest(String category) {
        this.category = category;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }
}